using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class ToolTip : MonoBehaviour
{
    private void Update()
    {
        transform.position = Input.mousePosition;
    }
    public void SetText(Item item)
    {
        transform.GetComponent<Text>().text = "Name: " + item.Name;
    }
}
